val lines = sc.textFile("file:///usr/local/spark/sparksqldata/chapter5-data1.txt")
val pare = lines.filter(row=>row.split(",")(1)=="DataBase")
pare.count
// res1: Long = 126